package com.example.module.system.enums;

import com.example.framework.common.exception.ErrorCode;
import com.example.framework.common.exception.enums.GlobalErrorCodeConstants;

public interface ErrorCodeConstants extends GlobalErrorCodeConstants {

    ErrorCode FILE_UPLOAD_FAILED = new ErrorCode(40200, "文件上传失败");
    ErrorCode FILE_IS_NEEDED = new ErrorCode(40201, "上传文件为空");
    ErrorCode FILE_UNAVAILABLE = new ErrorCode(40202, "文件不可用");

    ErrorCode CODE_EXPIRED = new ErrorCode(40300, "验证码已过期，请刷新后重试");
    ErrorCode CODE_ERROR = new ErrorCode(40301, "验证码错误");
    ErrorCode JIGSAW_ERROR = new ErrorCode(40302, "验证失败，请控制拼图对齐缺口");

    ErrorCode SEND_SMS_ERROR = new ErrorCode(9_000_000, "发送短信失败：{}");
    ErrorCode SEND_MAIL_ERROR = new ErrorCode(9_000_001, "发送邮件失败：{}");
}
